package com.lsj;

/**
 * @author Lsj
 * @version 1.0
 * @date 2021/6/22 23:20
 */
public class Pair {
    private Object first;
    private Object second;
    public Pair(Object first,Object second){
        this.first = first;
        this.second = second;
    }
    public Object getFirst(){
        return first;
    }
    public Object getSecond(){
        return second;
    }
    public void getFirst(Object newValue){
        first = newValue;
    }
    public void getSecond(Object newValue){
        second = newValue;
    }
}
